package com.lik888.web1.mapper;

import com.lik888.web1.entity.GoodsTable;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;

import javax.annotation.ManagedBean;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author author
 * @since 2025-11-05
 */

@Mapper
public interface GoodsTableMapper extends BaseMapper<GoodsTable> {
    @Update("update Goods_Table set goods_look = goods_look + 1 where goods_id = #{goodsId}")
    void updateLook(Long goodsId);

}
